package com.wanchuang.hepos.bridge.data.bean;


import com.wanchuang.hepos.proto.MemberOuterClass;

public class UserBean {


    private String member_id;                // 用户ID
    private String member_name;           // 用户名
    private String member_mobile;           // 手机号
    private String member_avatar;           // 头像地址
    private String push_id;            // 极光推送ID
    private String chat_id;           // 聊天ID
    private String chat_pwd;           // 聊天密码
    private String merchant_status;        // 商户状态:0-待入网；1-待审核；2-审核失败；3-审核成功
    private String merchant_level;           // 商户等级：1-普通；2-黄金；3-白金；4-钻石
    private String merchant_type;           // 商户类别：1-小微；2-标准
    private String merchant_full;           // 商户全称
    private String merchant_abbr;           // 商户简称
    private String merchant_id;            // 商户编号
    private String key;            // 商户编号

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    private String id_card;            // 商户编号

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }


    public String getMember_id() {
        return member_id;
    }

    public void setMember_id(String member_id) {
        this.member_id = member_id;
    }

    public String getMember_name() {
        return member_name;
    }

    public void setMember_name(String member_name) {
        this.member_name = member_name;
    }

    public String getMember_mobile() {
        return member_mobile;
    }

    public void setMember_mobile(String member_mobile) {
        this.member_mobile = member_mobile;
    }

    public String getMember_avatar() {
        return member_avatar;
    }

    public void setMember_avatar(String member_avatar) {
        this.member_avatar = member_avatar;
    }

    public String getPush_id() {
        return push_id;
    }

    public void setPush_id(String push_id) {
        this.push_id = push_id;
    }

    public String getChat_id() {
        return chat_id;
    }

    public void setChat_id(String chat_id) {
        this.chat_id = chat_id;
    }

    public String getChat_pwd() {
        return chat_pwd;
    }

    public void setChat_pwd(String chat_pwd) {
        this.chat_pwd = chat_pwd;
    }

    public String getMerchant_status() {
        return merchant_status;
    }

    public void setMerchant_status(String merchant_status) {
        this.merchant_status = merchant_status;
    }

    public String getMerchant_level() {
        return merchant_level;
    }

    public void setMerchant_level(String merchant_level) {
        this.merchant_level = merchant_level;
    }

    public String getMerchant_type() {
        return merchant_type;
    }

    public void setMerchant_type(String merchant_type) {
        this.merchant_type = merchant_type;
    }

    public String getMerchant_full() {
        return merchant_full;
    }

    public void setMerchant_full(String merchant_full) {
        this.merchant_full = merchant_full;
    }

    public String getMerchant_abbr() {
        return merchant_abbr;
    }

    public void setMerchant_abbr(String merchant_abbr) {
        this.merchant_abbr = merchant_abbr;
    }

    public String getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(String merchant_id) {
        this.merchant_id = merchant_id;
    }




    public UserBean() {
    }

    public UserBean(MemberOuterClass.Member in) {
        setMember_id(in.getMemberId());
        setMember_name(in.getMemberName());
        setMember_mobile(in.getMemberMobile());
        setMember_avatar(in.getMemberAvatar());
        setPush_id(in.getPushId());
        setChat_id(in.getChatId());
        setChat_pwd(in.getChatPwd());
        setMerchant_status(in.getMerchantStatus());
        setMerchant_level(in.getMerchantLevel());
        setMerchant_type(in.getMerchantType());
        setMerchant_full(in.getMerchantFull());
        setMerchant_abbr(in.getMerchantAbbr());
        setMerchant_id(in.getMerchantId());
        setId_card(in.getIdCard());

    }





}
